package com.stylefeng.guns.modular.model.service.impl;

import com.stylefeng.guns.modular.system.model.ActivityCentre;
import com.stylefeng.guns.modular.system.dao.ActivityCentreMapper;
import com.stylefeng.guns.modular.model.service.IActivityCentreService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lyl
 * @since 2018-08-16
 */
@Service
public class ActivityCentreServiceImpl extends ServiceImpl<ActivityCentreMapper, ActivityCentre> implements IActivityCentreService {

    @Override
    public ActivityCentre selectByActityid(Integer activityid, Integer wxuserid) {
        return this.baseMapper.selectByActityid(activityid,wxuserid);
    }

    @Override
    public ActivityCentre selectByActityState(Integer activityid, Integer wxuserid, Integer activitystate) {
        return this.baseMapper.selectByActityState(activityid,wxuserid,activitystate);
    }

    @Override
    public ActivityCentre selectByActityUserid(Integer activityid, Integer wxuserid) {
        return this.baseMapper.selectByActityUserid(activityid,wxuserid);
    }
}
